Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bundling of eddsa #935

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

fix bundling of eddsa #935

wants to merge 3 commits into from

Conversation

jtnord
Copy link

@jtnord jtnord commented May 21, 2024

plugin was bundling eddsa which is now a plugin and should be used instead.

whilst looking to fix this the dependencies where a bit of a mess and the plugin build (parent) obsolete and unsupported.

this is a partial fix for this (there is more outstanding) and it has had zero testing other than unit tests are fixed and there are less things bundled in the HPI that are obviously wrong.

the p4 code would not have even worked on a recent version of the perforce plugin as the APIs called where gone. I have adjusted the code so that it may work however other than it compiles and looks about right no testing has been performed.

fixes: #934
partially addresses: #933


the plugin would have previously just blown up at runtime if a new p4
plugin was used as the APIs called did not exist.

The plugin may still blow up at runtime, however there is at least more
possibility that it will indeed not blow up
Copy link

github-actions bot commented May 21, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

<jenkins.version>2.263.1</jenkins.version>
<java.level>8</java.level>
<!-- TODO: enforcer is full of upper bound dependency issues, including real ones -->
<enforcer.skip>true</enforcer.skip>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was hiding an awful lot of brokenness..

<version>2.1.1</version>
<scope>test</scope>
</dependency>
<dependency>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not bundle things that should come from a library.

Comment on lines -169 to -179
<exclusions>
<exclusion>
<groupId>org.tmatesoft.svnkit</groupId>
<artifactId>svnkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.tmatesoft.svnkit</groupId>
<artifactId>svnkit</artifactId>
<version>1.10.4</version>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtnord jtnord changed the title fix bubdling of eddsa fix bundling of eddsa May 21, 2024
@jtnord
Copy link
Author

jtnord commented May 21, 2024

I have read the CLA Document and I hereby sign the CLA

@jtnord
Copy link
Author

jtnord commented May 21, 2024

frogbot appears to be broken, and is not something I can fix in this PR as it is an action to which I have no access to update.
guess it needs to be updated to use Java11 runtime (which is needed by maven hpi plugin, which is needed by every Jenkins plugin using a recent toolchain).

it can not work out the packaging of type HPI, yet maven and JDK11 is completely happy with it.

If frogbot and SCA are not happy with the versions used here, I have no idea how they can be happy with the previously historic versions used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

replace eddsa bundling with eddsa-api plugin
1 participant